import request from '@/utils/request'

export function getCode(type) {
  return request({
    url: '/codeincrement/getcode',
    params: {
      'type': type
    },
    method: 'get'
  })
}
